package com.xqboss.apps.mapper.consumer;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xqboss.apps.domain.consumer.ConsumerTeamApply;
import com.xqboss.apps.vo.consumer.ConsumerTeamApplyVo;

import java.util.List;

/**
 * 队伍申请Mapper接口
 *
 * @author xqboss
 * @date 2023-08-17
 */
public interface ConsumerTeamApplyMapper extends BaseMapper<ConsumerTeamApply> {
    /**
     * 查询队伍申请
     *
     * @param id 队伍申请主键
     * @return 队伍申请
     */
    public ConsumerTeamApply selectConsumerTeamApplyById(Long id);

    /**
     * 查询队伍申请列表
     *
     * @param consumerTeamApply 队伍申请
     * @return 队伍申请集合
     */
    public List<ConsumerTeamApplyVo> selectConsumerTeamApplyList(ConsumerTeamApply consumerTeamApply);

    /**
     * 新增队伍申请
     *
     * @param consumerTeamApply 队伍申请
     * @return 结果
     */
    public int insertConsumerTeamApply(ConsumerTeamApply consumerTeamApply);

    /**
     * 修改队伍申请
     *
     * @param consumerTeamApply 队伍申请
     * @return 结果
     */
    public int updateConsumerTeamApply(ConsumerTeamApply consumerTeamApply);

    /**
     * 删除队伍申请
     *
     * @param id 队伍申请主键
     * @return 结果
     */
    public int deleteConsumerTeamApplyById(Long id);

    /**
     * 批量删除队伍申请
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteConsumerTeamApplyByIds(Long[] ids);

    List<ConsumerTeamApplyVo> getMyApply(ConsumerTeamApply dto);
}

